package com.zx._09_架构.扩展性.cpt1_event.handler;

import com.zx._09_架构.扩展性.cpt1_event.event.UpStringEvent;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class UpStringEventHandler extends EventHandler<UpStringEvent>{

    @Override
    public boolean on(UpStringEvent event) {
        log.info("处理事件：UpStringEvent, str={}, res={}", event.getStr(), event.getStr().toUpperCase());
        return true;
    }
}
